<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>without vue</title>
</head>
<body>
    <div id="app"></div>
    <script>
        // 1.1个P标签里面有文本
        // 2.2s之后，P标签里面的内容改变
        const pDom = document.createElement("p");
        pDom.textContent = "我是第一次的值"
        app.appendChild(pDom);
        setTimeout(() => {
            pDom.textContent = "我是第二次的值"
        }, 2000)
    </script>
</body>
</html>